PTR: Prompt Tuning with Rules for Text Classification

نویسندگان

چکیده

Recently, prompt tuning has been widely applied to stimulate the rich knowledge in pre-trained language models (PLMs) serve NLP tasks. Although achieved promising results on some few-class classification tasks, such as sentiment and natural inference, manually designing prompts is cumbersome. Meanwhile, generating automatically also difficult time-consuming. Therefore, obtaining effective for complex many-class tasks still remains a challenge. In this paper, we propose encode prior of task into rules, then design sub-prompts according finally combine handle task. We name Prompt Tuning method with Rules “PTR”. Compared existing prompt-based methods, PTR achieves good trade-off between effectiveness efficiency building prompts. conduct experiments three including relation classification, entity typing, intent classification. The show that outperforms both vanilla baselines, indicating utilizing rules tuning. source code available at https://github.com/thunlp/PTR.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Evolving Text Classification Rules with Genetic Programming

We describe a novel method for using Genetic Programming to create compact classification rules using combinations of N-Grams (character strings). Genetic programs acquire fitness by producing rules that are effective classifiers in terms of precision and recall when evaluated against a set of training documents. We describe a set of functions and terminals and provide results from a classifica...

متن کامل

GENERATING FUZZY RULES FOR PROTEIN CLASSIFICATION

This paper considers the generation of some interpretable fuzzy rules for assigning an amino acid sequence into the appropriate protein superfamily. Since the main objective of this classifier is the interpretability of rules, we have used the distribution of amino acids in the sequences of proteins as features. These features are the occurrence probabilities of six exchange groups in the seque...

متن کامل

Tuning Text Classification for Hereditary Diseases with Section Weighting

Motivation: Information in life science publications is heterogeneously distributed over various sections. Depending on research questions, different sections cover more or less of the data needed to answer them. Our approach, called section weighting, seeks to make use of information coverage and density found in typical life science publications. We study the impact of section weighting on te...

متن کامل

Mixing Domain Rules with Machine Learning for Radiology Text Classification

In this work we compare and contrast proposed techniques and experiments in the subdomain of radiology text classification. In the past, systems have relied on two main approaches: rule-based or natural language processing plus machine learning (NLP/ML). Simple rule-based approaches have demonstrated great efficacy, at the high cost of requiring medical professionals to build and maintain. Comp...

متن کامل

On Mining Fuzzy Classification Rules for Imbalanced Data

Fuzzy rule-based classification system (FRBCS) is a popular machine learning technique for classification purposes. One of the major issues when applying it on imbalanced data sets is its biased to the majority class, such that, it performs poorly in respect to the minority class. However many cases the minority classes are more important than the majority ones. In this paper, we have extended ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: AI open

سال: 2022

ISSN: ['2666-6510']

DOI: https://doi.org/10.1016/j.aiopen.2022.11.003